<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <form method="post" action="/update/">
        <ul>
            <li>id:{{ user.id }}</li>
            <li>username:<input type="text" value="{{ user.username }}" name="username"/></li>
            <li>nickname:<input type="text" value="{{ user.nickname }}" name="nickname"/></li>
            <input type="hidden" name="id" value="{{ user.id }}"/>
        </ul>
        <input type="submit" value="保存"/>
    </form>
</div>
</body>
</html>